package usj.renting;

public class VanPrice extends Price {

	int getPriceCode() {
		return Car.VAN;
	}

	double getCharge(int daysRented) {
		if (daysRented < 10)
			return daysRented * 100;
		else
			return daysRented * 90;
	}

	int getLoyaltyPoints(int daysRented) {
		if (daysRented < 10)
			return 3;
		else
			return 5;
	}
}
